Skip to content

Conversation

@idream-ming
Copy link

Adapt to arm64 platform

-fwide-exec-charset=UTF-16LE
-m64
)
IF(${MAPBAR_PLATFORM} STREQUAL "gnu_arm64")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是一个开源项目,不应使用 MAPBAR_PLATFORM 这样的变量。

-m64
)
ENDIF()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

上面两段文字,其实 x64 版本 跟 arm64 版本的差别只是是否要带 -m64,应该把 -m64 跟其他的分离开来单独处理,避免重复代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants